package top.mh.mybatis.config;

import top.mh.mybatis.utils.ParameterMapping;

import java.util.List;

/**
 * @author mh
 * @version 1.0
 * @description sql语句、参数信息
 * @since 2024/2/2 16:48
 */
public class BoundSql {
    private String sql;

    private List<ParameterMapping> parameterMappingList;

    public BoundSql(String finalSql, List<ParameterMapping> parameterMappingList) {
        this.sql = finalSql;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
